Descripción del modelo de ingreso.

Datos

Usaremos la ENIGH 2010, con información de 61847 hogares y 920. Notamos que los faltantes se concentran en unas cuantas variables:

faltantes <- DataExplorer::plot_missing(enigh_2010)

Y los podemos dividir en faltantes por lógica de cuestionario:

Y 2.0% de faltantes restantes, en las siguientes preguntas:

faltantes %>% 
  filter(num_missing == 1253)
## # A tibble: 9 x 4
##   feature  num_missing pct_missing group
##   <fct>          <int>       <dbl> <chr>
## 1 pared           1253      0.0203 Good 
## 2 techos          1253      0.0203 Good 
## 3 cua_coc         1253      0.0203 Good 
## 4 dormi           1253      0.0203 Good 
## 5 cuart           1253      0.0203 Good 
## 6 dis_agua        1253      0.0203 Good 
## 7 excus           1253      0.0203 Good 
## 8 drenaje         1253      0.0203 Good 
## 9 elect           1253      0.0203 Good

Notamos que los faltantes de la tabla anterior pertenecen a 1,253 hogares, repartidos en 401 municipios, la siguiente tabla indica los municipios con mayor porcentaje de faltantes.

enigh_faltantes <- enigh_2010 %>% 
  mutate(faltante = is.na(pared) & is.na(techos))
  
enigh_faltantes %>% 
  group_by(ubica_geo) %>% 
  summarise(
    porcent_faltantes = 100 * sum(faltante) / n(), 
    n_faltantes = sum(faltante)) %>%
  filter(porcent_faltantes > 0) %>% 
  arrange(desc(porcent_faltantes)) %>% 
  top_n(20, porcent_faltantes)
## # A tibble: 20 x 3
##    ubica_geo porcent_faltantes n_faltantes
##    <chr>                 <dbl>       <int>
##  1 20025                  23.5           4
##  2 29058                  22.2           2
##  3 29039                  20             2
##  4 16016                  18.8           6
##  5 20427                  18.2           4
##  6 29054                  18.2           2
##  7 15062                  17.4           4
##  8 12030                  16.7           3
##  9 21181                  16.7           1
## 10 20091                  15.4           2
## 11 24049                  15.4           6
## 12 11041                  14.3           3
## 13 14023                  14.3           6
## 14 20149                  14.3           3
## 15 21035                  14.3           2
## 16 21041                  14.3           2
## 17 07012                  14.0           6
## 18 28026                  13.9           5
## 19 15018                  13.6           3
## 20 20393                  13.6           3

Faltantes MCAR (missing completely at random, o faltante totalmente al azar)?

Una variable es MCAR si la probabilidad de faltar es la misma para todas las unidades. Por ejemplo, si todos los encuestados deciden si contestar la pregunta de ingresos lanzando un dado y negándose a contestar si observa un 6. En el caso MCAR eliminar las observaciones con faltantes no genera un sesgo en la inferencia.

Arriba observamos que hay municipios con alto porcentaje de faltantes lo que nos hace pensar que no estamos en el caso MCAR. Evaluemos la hipótesis de MCAR mediante un modelo de regresión logística donde la variable respuesta es si hay faltante o no en cada hogar y agregamos covaribales sexo del jefe de familia, total de personas en el hogar, índice de rezago educativo y número de personas ocupadas:

faltante_fit <- glm((faltante == 0) ~ jefe_sexo + jefe_edad + total_personas + 
    ic_rezedu + n_ocup, data = enigh_faltantes, family = binomial(link = "logit"))

summary(faltante_fit)
## 
## Call:
## glm(formula = (faltante == 0) ~ jefe_sexo + jefe_edad + total_personas + 
##     ic_rezedu + n_ocup, family = binomial(link = "logit"), data = enigh_faltantes)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -3.3553   0.1366   0.1768   0.2215   0.4260  
## 
## Coefficients:
##                 Estimate Std. Error z value Pr(>|z|)    
## (Intercept)     2.616674   0.064671  40.461  < 2e-16 ***
## jefe_sexo      -0.017198   0.084994  -0.202 0.839652    
## jefe_edad       0.030999   0.001793  17.293  < 2e-16 ***
## total_personas -0.074229   0.019909  -3.728 0.000193 ***
## ic_rezedu       0.302543   0.087799   3.446 0.000569 ***
## n_ocup          0.250724   0.038919   6.442 1.18e-10 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for binomial family taken to be 1)
## 
##     Null deviance: 12252  on 61846  degrees of freedom
## Residual deviance: 11648  on 61841  degrees of freedom
## AIC: 11660
## 
## Number of Fisher Scoring iterations: 7

Los resultados de la regresión no soportan la hipótesis de faltantes MCAR.

Por ahora se eliminarán los faltantes, sin embargo, en corridas futuras se recodificarán los faltantes para no perder hogares.

Variables en modelo

Variables a considerar y selección de muestra.

Consideramos un subconjunto de las variables disponibles:

enigh_vars <- enigh_2010 %>% 
  select(hogar_id, ubica_geo, jefe_sexo, pisos, dis_agua, excus, drenaje,
    servicio_celular, servicio_internet, automovil, tam_hog, n_ocup, conapo,
    tam_loc, ingcor, maxnved, indigena) %>% 
  na.omit() %>% 
  filter(ingcor > 0)

Y seleccionamos la muestra en dos partes:

  1. Seleccionamos 500 municipios.

  2. Seleccionamos 10,000 hogares dentro de los municipios del paso 1 (perdemos 2 municipios en el proceso y el tamaño de muestra varía a lo largo de los municipios.

# seleccionar muestra (municipios y hogares)
set.seed(182791)
in_sample_mun_ids <- sample(unique(enigh_vars$ubica_geo), 500)
in_sample_ids <- enigh_vars %>% 
  filter(ubica_geo %in% in_sample_mun_ids) %>% 
  sample_n(10000) %>% 
  pull(hogar_id)

Modelo

El modelo a ajustar es:

mod_ingreso_pred <- stan_model(file = "./src/ingreso_prediccion.stan")
## clang: warning: argument unused during compilation: '-L/usr/local/opt/openssl/lib' [-Wunused-command-line-argument]
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/var.hpp:7:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:13:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/config.hpp:39:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/config/compiler/clang.hpp:200:11: warning: 'BOOST_NO_CXX11_RVALUE_REFERENCES' macro redefined [-Wmacro-redefined]
## #  define BOOST_NO_CXX11_RVALUE_REFERENCES
##           ^
## <command line>:6:9: note: previous definition is here
## #define BOOST_NO_CXX11_RVALUE_REFERENCES 1
##         ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core.hpp:14:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/matrix_vari.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat/fun/Eigen_NumTraits.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Dense:1:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Core:531:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core.hpp:14:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/matrix_vari.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat/fun/Eigen_NumTraits.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Dense:2:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/LU:47:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core.hpp:14:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/matrix_vari.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat/fun/Eigen_NumTraits.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Dense:3:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Cholesky:12:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Jacobi:29:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core.hpp:14:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/matrix_vari.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat/fun/Eigen_NumTraits.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Dense:3:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Cholesky:43:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core.hpp:14:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/matrix_vari.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat/fun/Eigen_NumTraits.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Dense:4:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/QR:17:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Householder:27:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core.hpp:14:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/matrix_vari.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat/fun/Eigen_NumTraits.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Dense:5:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/SVD:48:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core.hpp:14:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/matrix_vari.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat/fun/Eigen_NumTraits.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Dense:6:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Geometry:58:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core.hpp:14:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/matrix_vari.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat/fun/Eigen_NumTraits.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Dense:7:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Eigenvalues:58:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core.hpp:36:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/operator_unary_plus.hpp:7:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/scal/fun/constants.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/constants/constants.hpp:13:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/convert_from_string.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/lexical_cast.hpp:32:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/lexical_cast/try_lexical_convert.hpp:42:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:52:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/container/container_fwd.hpp:61:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/container/detail/std_fwd.hpp:27:1: warning: inline namespaces are a C++11 feature [-Wc++11-inline-namespace]
## BOOST_MOVE_STD_NS_BEG
## ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/move/detail/std_ns_begin.hpp:18:34: note: expanded from macro 'BOOST_MOVE_STD_NS_BEG'
##    #define BOOST_MOVE_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD
##                                  ^
## /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:439:52: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
## #define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {inline namespace _LIBCPP_NAMESPACE {
##                                                    ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:83:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/csr_extract_u.hpp:6:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Sparse:26:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/SparseCore:66:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:83:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/csr_extract_u.hpp:6:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Sparse:27:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/OrderingMethods:71:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:83:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/csr_extract_u.hpp:6:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Sparse:29:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/SparseCholesky:43:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:83:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/csr_extract_u.hpp:6:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Sparse:32:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/SparseQR:35:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:83:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/csr_extract_u.hpp:6:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/Sparse:33:
## In file included from /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/IterativeLinearSolvers:46:
## /usr/local/lib/R/3.5/site-library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
##     #pragma clang diagnostic pop
##                              ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:477:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(0, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:33:1: note: expanded from here
## 0uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:478:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(2432902008176640000, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:34:1: note: expanded from here
## 2432902008176640000uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:479:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(8752948036761600000, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:35:1: note: expanded from here
## 8752948036761600000uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:480:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(13803759753640704000, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:36:1: note: expanded from here
## 13803759753640704000uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:481:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(12870931245150988800, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:37:1: note: expanded from here
## 12870931245150988800uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:482:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(8037811822645051776, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:38:1: note: expanded from here
## 8037811822645051776uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:483:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(3599979517947607200, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:39:1: note: expanded from here
## 3599979517947607200uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:484:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1206647803780373360, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:40:1: note: expanded from here
## 1206647803780373360uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:485:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(311333643161390640, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:41:1: note: expanded from here
## 311333643161390640uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:486:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(63030812099294896, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:42:1: note: expanded from here
## 63030812099294896uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:487:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(10142299865511450, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:43:1: note: expanded from here
## 10142299865511450uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:488:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1307535010540395, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:44:1: note: expanded from here
## 1307535010540395uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:489:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(135585182899530, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:45:1: note: expanded from here
## 135585182899530uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:490:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(11310276995381, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:46:1: note: expanded from here
## 11310276995381uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:491:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(756111184500, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:47:1: note: expanded from here
## 756111184500uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:492:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(40171771630, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:48:1: note: expanded from here
## 40171771630uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:493:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1672280820, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:49:1: note: expanded from here
## 1672280820uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:494:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(53327946, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:50:1: note: expanded from here
## 53327946uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:495:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1256850, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:51:1: note: expanded from here
## 1256850uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:496:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(20615, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:52:1: note: expanded from here
## 20615uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:497:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(210, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:53:1: note: expanded from here
## 210uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:498:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1, uLL)
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:54:1: note: expanded from here
## 1uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:532:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(0, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:99:1: note: expanded from here
## 0uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:533:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(2432902008176640000, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:100:1: note: expanded from here
## 2432902008176640000uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:534:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(8752948036761600000, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:101:1: note: expanded from here
## 8752948036761600000uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:535:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(13803759753640704000, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:102:1: note: expanded from here
## 13803759753640704000uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:536:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(12870931245150988800, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:103:1: note: expanded from here
## 12870931245150988800uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:537:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(8037811822645051776, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:104:1: note: expanded from here
## 8037811822645051776uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:538:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(3599979517947607200, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:105:1: note: expanded from here
## 3599979517947607200uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:539:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1206647803780373360, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:106:1: note: expanded from here
## 1206647803780373360uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:540:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(311333643161390640, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:107:1: note: expanded from here
## 311333643161390640uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:541:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(63030812099294896, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:108:1: note: expanded from here
## 63030812099294896uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:542:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(10142299865511450, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:109:1: note: expanded from here
## 10142299865511450uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:543:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1307535010540395, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:110:1: note: expanded from here
## 1307535010540395uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:544:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(135585182899530, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:111:1: note: expanded from here
## 135585182899530uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:545:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(11310276995381, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:2:1: note: expanded from here
## 11310276995381uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:546:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(756111184500, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:3:1: note: expanded from here
## 756111184500uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:547:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(40171771630, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:4:1: note: expanded from here
## 40171771630uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:548:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1672280820, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:5:1: note: expanded from here
## 1672280820uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:549:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(53327946, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:6:1: note: expanded from here
## 53327946uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:550:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1256850, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:7:1: note: expanded from here
## 1256850uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:551:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(20615, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:8:1: note: expanded from here
## 20615uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:552:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(210, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:9:1: note: expanded from here
## 210uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:553:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1, uLL)
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:10:1: note: expanded from here
## 1uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:899:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(0, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:35:1: note: expanded from here
## 0uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:900:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1307674368000, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:36:1: note: expanded from here
## 1307674368000uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:901:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(4339163001600, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:37:1: note: expanded from here
## 4339163001600uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:902:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(6165817614720, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:38:1: note: expanded from here
## 6165817614720uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:903:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(5056995703824, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:39:1: note: expanded from here
## 5056995703824uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:904:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(2706813345600, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:40:1: note: expanded from here
## 2706813345600uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:905:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1009672107080, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:41:1: note: expanded from here
## 1009672107080uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:906:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(272803210680, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:42:1: note: expanded from here
## 272803210680uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:907:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(54631129553, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:43:1: note: expanded from here
## 54631129553uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:908:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(8207628000, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:44:1: note: expanded from here
## 8207628000uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:909:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(928095740, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:45:1: note: expanded from here
## 928095740uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:910:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(78558480, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:46:1: note: expanded from here
## 78558480uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:911:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(4899622, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:47:1: note: expanded from here
## 4899622uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:912:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(218400, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:48:1: note: expanded from here
## 218400uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:913:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(6580, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:49:1: note: expanded from here
## 6580uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:914:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(120, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:50:1: note: expanded from here
## 120uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:915:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1, uLL)
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:51:1: note: expanded from here
## 1uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:944:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(0, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:86:1: note: expanded from here
## 0uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:945:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1307674368000, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:87:1: note: expanded from here
## 1307674368000uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:946:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(4339163001600, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:88:1: note: expanded from here
## 4339163001600uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:947:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(6165817614720, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:89:1: note: expanded from here
## 6165817614720uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:948:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(5056995703824, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:90:1: note: expanded from here
## 5056995703824uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:949:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(2706813345600, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:91:1: note: expanded from here
## 2706813345600uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:950:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1009672107080, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:92:1: note: expanded from here
## 1009672107080uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:951:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(272803210680, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:93:1: note: expanded from here
## 272803210680uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:952:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(54631129553, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:94:1: note: expanded from here
## 54631129553uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:953:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(8207628000, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:95:1: note: expanded from here
## 8207628000uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:954:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(928095740, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:96:1: note: expanded from here
## 928095740uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:955:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(78558480, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:97:1: note: expanded from here
## 78558480uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:956:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(4899622, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:98:1: note: expanded from here
## 4899622uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:957:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(218400, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:99:1: note: expanded from here
## 218400uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:958:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(6580, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:100:1: note: expanded from here
## 6580uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:959:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(120, uLL),
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:101:1: note: expanded from here
## 120uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:30:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/lanczos.hpp:960:10: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##          BOOST_MATH_INT_VALUE_SUFFIX(1, uLL)
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/tools/config.hpp:265:48: note: expanded from macro 'BOOST_MATH_INT_VALUE_SUFFIX'
## #  define BOOST_MATH_INT_VALUE_SUFFIX(RV, SUF) RV##SUF
##                                                ^
## <scratch space>:102:1: note: expanded from here
## 1uLL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:35:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/bernoulli.hpp:15:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:90:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(            +1LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:91:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(            +1LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:92:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(            -1LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:93:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(            +1LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:94:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(            -1LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:95:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(            +5LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:96:33: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(          -691LL),
##                                 ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:97:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(            +7LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:98:32: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(         -3617LL),
##                                ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:99:31: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(        +43867LL),
##                               ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:100:30: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(       -174611LL),
##                              ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:101:30: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(       +854513LL),
##                              ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:102:27: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(    -236364091LL),
##                           ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:103:29: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(      +8553103LL),
##                             ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:104:25: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(  -23749461029LL),
##                         ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:105:23: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(+8615841276005LL),
##                       ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:106:23: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(-7709321041217LL),
##                       ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:107:23: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(+2577687858367LL)
##                       ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:112:28: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(      1LL),
##                            ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:113:28: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(      6LL),
##                            ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:114:27: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(     30LL),
##                           ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:115:27: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(     42LL),
##                           ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:116:27: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(     30LL),
##                           ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:117:27: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(     66LL),
##                           ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:118:25: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(   2730LL),
##                         ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:119:28: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(      6LL),
##                            ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:120:26: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(    510LL),
##                          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:121:26: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(    798LL),
##                          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:122:26: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(    330LL),
##                          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:123:26: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(    138LL),
##                          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:124:25: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(   2730LL),
##                         ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:125:28: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(      6LL),
##                            ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:126:26: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(    870LL),
##                          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:127:24: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(  14322LL),
##                        ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:128:26: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(    510LL),
##                          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:129:28: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int64_t(      6LL)
##                            ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:656:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(            +1LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:657:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(            +1LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:658:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(            -1LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:659:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(            +1LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:660:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(            -1LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:661:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(            +5LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:662:33: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(          -691LL),
##                                 ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:663:35: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(            +7LL),
##                                   ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:664:32: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(         -3617LL),
##                                ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:665:31: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(        +43867LL),
##                               ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:666:30: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(       -174611LL),
##                              ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:667:30: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(       +854513LL),
##                              ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:672:28: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(      1LL),
##                            ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:673:28: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(      6LL),
##                            ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:674:27: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(     30LL),
##                           ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:675:27: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(     42LL),
##                           ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:676:27: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(     30LL),
##                           ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:677:27: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(     66LL),
##                           ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:678:25: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(   2730LL),
##                         ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:679:28: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(      6LL),
##                            ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:680:26: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(    510LL),
##                          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:681:26: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(    798LL),
##                          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:682:26: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(    330LL),
##                          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp:683:26: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##       boost::int32_t(    138LL),
##                          ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:106:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/erf.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/erf.hpp:15:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/gamma.hpp:35:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/bernoulli.hpp:16:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/bernoulli_details.hpp:72:31: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##    max_bernoulli_root_functor(long long t) : target(static_cast<double>(t)) {}
##                               ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/math/special_functions/detail/bernoulli_details.hpp:96:4: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##    long long t = lltrunc(boost::math::tools::log_max_value<T>());
##    ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:288:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/prob/multinomial_rng.hpp:10:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/scal/prob/binomial_rng.hpp:4:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/random/binomial_distribution.hpp:407:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types]
##         struct {
##         ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:298:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr.hpp:38:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint.hpp:25:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/quantity.hpp:29:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/conversion.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/detail/conversion_impl.hpp:20:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/heterogeneous_system.hpp:34:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token]
## #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
##      <boost/typeof/incr_registration_group.hpp>
##             ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:298:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr.hpp:38:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint.hpp:25:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/quantity.hpp:29:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/conversion.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/detail/conversion_impl.hpp:20:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/heterogeneous_system.hpp:35:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/dimension.hpp:21:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token]
## #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
##      <boost/typeof/incr_registration_group.hpp>
##             ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:298:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr.hpp:38:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint.hpp:25:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/quantity.hpp:29:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/conversion.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/detail/conversion_impl.hpp:20:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/heterogeneous_system.hpp:35:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/dimension.hpp:21:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/detail/dimension_list.hpp:131:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token]
## #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
##      <boost/typeof/incr_registration_group.hpp>
##             ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:298:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr.hpp:38:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint.hpp:25:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/quantity.hpp:29:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/conversion.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/detail/conversion_impl.hpp:20:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/heterogeneous_system.hpp:39:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/detail/linear_algebra.hpp:20:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token]
## #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
##      <boost/typeof/incr_registration_group.hpp>
##             ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:298:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr.hpp:38:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint.hpp:25:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/quantity.hpp:29:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/conversion.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/detail/conversion_impl.hpp:20:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/heterogeneous_system.hpp:40:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/detail/unscale.hpp:28:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token]
## #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
##      <boost/typeof/incr_registration_group.hpp>
##             ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:298:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr.hpp:38:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint.hpp:25:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/quantity.hpp:29:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/conversion.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/detail/conversion_impl.hpp:20:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token]
## #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
##      <boost/typeof/incr_registration_group.hpp>
##             ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:298:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr.hpp:38:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint.hpp:25:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/quantity.hpp:29:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/conversion.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/units/detail/conversion_impl.hpp:21:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token]
## #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
##      <boost/typeof/incr_registration_group.hpp>
##             ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:298:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr.hpp:38:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint.hpp:25:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token]
## #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
##          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
##      <boost/typeof/incr_registration_group.hpp>
##             ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:298:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr.hpp:38:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint.hpp:32:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp:239:93: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##         const value_type X1 = static_cast< value_type >( 5 ) * ( static_cast< value_type >( 2558722523LL ) - static_cast< value_type >( 31403016 ) * theta ) / static_cast< value_type >( 11282082432LL );
##                                                                                             ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp:239:187: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##         const value_type X1 = static_cast< value_type >( 5 ) * ( static_cast< value_type >( 2558722523LL ) - static_cast< value_type >( 31403016 ) * theta ) / static_cast< value_type >( 11282082432LL );
##                                                                                                                                                                                           ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp:240:186: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##         const value_type X3 = static_cast< value_type >( 100 ) * ( static_cast< value_type >( 882725551 ) - static_cast< value_type >( 15701508 ) * theta ) / static_cast< value_type >( 32700410799LL );
##                                                                                                                                                                                          ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp:241:185: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##         const value_type X4 = static_cast< value_type >( 25 ) * ( static_cast< value_type >( 443332067 ) - static_cast< value_type >( 31403016 ) * theta ) / static_cast< value_type >( 1880347072LL ) ;
##                                                                                                                                                                                         ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp:242:186: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##         const value_type X5 = static_cast< value_type >( 32805 ) * ( static_cast< value_type >( 23143187 ) - static_cast< value_type >( 3489224 ) * theta ) / static_cast< value_type >( 199316789632LL );
##                                                                                                                                                                                          ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:298:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr.hpp:38:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint.hpp:69:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/integrate/integrate_const.hpp:26:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/integrate/check_adapter.hpp:222:7: warning: no newline at end of file [-Wnewline-eof]
## #endif
##       ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:298:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr.hpp:38:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint.hpp:73:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/numeric/odeint/integrate/observer_collection.hpp:23:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/function.hpp:30:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/function/detail/prologue.hpp:17:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/function/function_base.hpp:21:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/type_index.hpp:29:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/type_index/stl_type_index.hpp:46:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/functional/hash.hpp:6:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/functional/hash/hash.hpp:261:39: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##             const boost::uint64_t m = UINT64_C(0xc6a4a7935bd1e995);
##                                       ^
## /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/stdint.h:196:23: note: expanded from macro 'UINT64_C'
## #define UINT64_C(v)  (v ## ULL)
##                       ^
## <scratch space>:127:1: note: expanded from here
## 0xc6a4a7935bd1e995ULL
## ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:298:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/arr.hpp:40:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/scal.hpp:309:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_2_ccdf_log.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_2_lccdf.hpp:10:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_ccdf_log.hpp:5:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_lccdf.hpp:23:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/random/negative_binomial_distribution.hpp:21:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/random/poisson_distribution.hpp:338:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types]
##         struct {
##         ^
## In file included from file9905440cbae4.cpp:906:
## In file included from /usr/local/lib/R/3.5/site-library/rstan/include/rstan/rstaninc.hpp:3:
## In file included from /usr/local/lib/R/3.5/site-library/rstan/include/rstan/stan_fit.hpp:13:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/date_time/posix_time/posix_time_types.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/date_time/posix_time/ptime.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/date_time/posix_time/posix_time_system.hpp:14:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/date_time/time_system_split.hpp:41:54: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
##      BOOST_STATIC_CONSTANT(int_type, ticks_per_day = INT64_C(86400) * config::tick_per_second);
##                                                      ^
## /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/stdint.h:191:23: note: expanded from macro 'INT64_C'
## #define INT64_C(v)   (v ## LL)
##                       ^
## <scratch space>:151:1: note: expanded from here
## 86400LL
## ^
## In file included from file9905440cbae4.cpp:906:
## In file included from /usr/local/lib/R/3.5/site-library/rstan/include/rstan/rstaninc.hpp:3:
## In file included from /usr/local/lib/R/3.5/site-library/rstan/include/rstan/stan_fit.hpp:36:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/services/optimize/bfgs.hpp:11:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/optimization/bfgs.hpp:9:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/optimization/lbfgs_update.hpp:6:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/circular_buffer.hpp:54:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/circular_buffer/details.hpp:20:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/move/move.hpp:30:
## In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/move/iterator.hpp:27:
## /usr/local/lib/R/3.5/site-library/BH/include/boost/move/detail/iterator_traits.hpp:29:1: warning: inline namespaces are a C++11 feature [-Wc++11-inline-namespace]
## BOOST_MOVE_STD_NS_BEG
## ^
## /usr/local/lib/R/3.5/site-library/BH/include/boost/move/detail/std_ns_begin.hpp:18:34: note: expanded from macro 'BOOST_MOVE_STD_NS_BEG'
##    #define BOOST_MOVE_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD
##                                  ^
## /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:439:52: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
## #define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {inline namespace _LIBCPP_NAMESPACE {
##                                                    ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core.hpp:44:
## /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:17: warning: unused function 'set_zero_all_adjoints' [-Wunused-function]
##     static void set_zero_all_adjoints() {
##                 ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core.hpp:45:
## /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints_nested.hpp:17:17: warning: 'static' function 'set_zero_all_adjoints_nested' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration]
##     static void set_zero_all_adjoints_nested() {
##                 ^
## In file included from file9905440cbae4.cpp:8:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math.hpp:4:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12:
## In file included from /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat.hpp:58:
## /usr/local/lib/R/3.5/site-library/StanHeaders/include/stan/math/prim/mat/fun/autocorrelation.hpp:17:14: warning: function 'fft_next_good_size' is not needed and will not be emitted [-Wunneeded-internal-declaration]
##       size_t fft_next_good_size(size_t N) {
##              ^
## 177 warnings generated.
mod_ingreso_pred
## S4 class stanmodel 'ingreso_prediccion' coded as follows:
## data {
##   // datos observados
##   int n; //número de hogares
##   int n_mun; // número de municipios
##   int mh; //número de covariables nivel hogar
##   int mm; //número de covariables nivel municipio
##   real ingreso[n];
##   matrix[n, mh] x_hogar;
##   int municipio[n];
##   matrix[n_mun, mm] x_municipio;
##   
##   // datos todos los hogares
##   int N; // número total de hogares
##   matrix[N, mh] x_todos_hogar; // covariables todos los hogares
##   int todos_municipio[N];
##   vector[N] in_sample_hogar; // indicadora hogar en muestra
##   
##   // datos todos municipios
##   int N_mun; // numero total de municipios
##   matrix[N_mun, mm] x_todos_municipio;
##   vector[N_mun] in_sample_mun;
## }
## 
## transformed data {
##   vector[n] log_ingreso;
##   log_ingreso = log(1. + to_vector(ingreso));
## }
## 
## parameters {
##   real beta_0;
##   vector[mh] beta;
##   real<lower=0> sigma;
##   vector[n_mun] beta_mun_raw;
##   real<lower=0> sigma_mun;
##   vector[mm] alpha;
## }
## 
## transformed parameters {
##   vector[n] reg_pred;
##   vector[n_mun] beta_mun;
##   
##   beta_mun = beta_mun_raw * sigma_mun + x_municipio * alpha;
##   reg_pred = beta_0 + x_hogar * beta + beta_mun[municipio];
## }
## 
## model {
##   log_ingreso ~ normal(reg_pred, sigma);
##   beta_0 ~ normal(10, 1);
##   beta ~ normal(0, 1);
##   sigma ~ normal(0,1);
##   beta_mun_raw ~ normal(0, 1);
##   sigma_mun ~ normal(0, 1);
##   alpha ~ normal(0, 1);
##   
## }
## 
## generated quantities {
##   vector[n] log_reps;
##   vector[N_mun] beta_out;
##   vector[N] log_ingreso_out;
##   for(i in 1:n){
##     log_reps[i] = normal_rng(reg_pred[i], sigma);
##   }
##   // parámetros para todos los municipios
##   for(j in 1:N_mun){
##     if(in_sample_mun[j]==1){
##       beta_out[j] = beta_mun[j];
##     } else {
##       beta_out[j] = normal_rng(dot_product(x_todos_municipio[j,], alpha), sigma_mun);
##     }
##   }
##   for(k in 1:N){
##     if(in_sample_hogar[k]==1){
##       log_ingreso_out[k] = log_ingreso[k];
##     } else {
##       log_ingreso_out[k] = normal_rng(beta_0 + x_todos_hogar[k, ] * beta + beta_out[todos_municipio[k]], sigma);
##     }
##   }
## }

El código incluye una sección de generated quantities donde:

  1. Se estiman los parámetros de los municipios que no entraron en la muestra.

  2. Se predice el ingreso en los hogares que tampoco están en muestra. En el modelo final este proceso se llevará a cabo en R.

Para ajustar el modelo, creamos una función que lee la tabla de datos y regresa una lista con los datos a usar en el ajuste del modelo.

# Recibe: 
# datos_enigh: los datos enigh y un vector con los hogares seleccionados en la muestra 
# de entrenamiento identificados por la varibale hogares_id
# Regresa en forma de lista:
# datos_modelo: lista para usar directamente en Stan, define datos del modelo.
# ind_mun: índice de clave de municipio e índice correspondiente en modelo.
# covs_mun: incluir covariables en efecto de municipio
preparar_datos <- function(datos_enigh, in_sample_ids, covs_mun = TRUE){
  datos_limpios_hogar <- datos_enigh %>%
    mutate(
      jefe_sexo = jefe_sexo,
      pisos = as.numeric(pisos != 1),
      dis_agua = as.numeric(dis_agua == 1),
      excus = as.numeric(excus == 1),
      drenaje = as.numeric(drenaje!=5),
      servicio_celular =  as.numeric(servicio_celular == 1),
      servicio_internet = as.numeric(servicio_internet == 1),
      automovil = as.numeric(automovil == 1),
      tam_hog = tam_hog - mean(tam_hog),
      n_ocup = n_ocup - mean(n_ocup),
      max_ed = maxnved - mean(maxnved), 
      # max_ed = ifelse(is.na(max_ed), 1, max_ed), 
      in_sample = hogar_id %in% in_sample_ids
      ) %>% 
    arrange(desc(in_sample))
  x_hogar <- model.matrix(~ jefe_sexo + pisos + dis_agua + excus + 
      drenaje + servicio_celular + servicio_internet + automovil + tam_hog +
      n_ocup + max_ed + n_ocup * max_ed + factor(tam_loc) + indigena, 
      data = datos_limpios_hogar)
  x_hogar <- x_hogar[, colnames(x_hogar) != "(Intercept)"]
  datos_mun <- datos_limpios_hogar %>% 
    group_by(ubica_geo) %>% 
    summarise(
      conapo = first(conapo), 
      tam_mun = floor(median(tam_loc)), 
      in_sample_mun = sum(in_sample) > 0
      ) %>%
      ungroup() %>% 
    mutate(
      geo_id = str_c(1 - in_sample_mun, ubica_geo),
      geo_id = as.numeric(factor(geo_id))
      ) %>% 
    arrange(desc(in_sample_mun), geo_id)
  if (covs_mun) {
    x_mun <- model.matrix(~ factor(tam_mun) * factor(conapo), 
    data = datos_mun)
    x_mun <- x_mun[, colnames(x_mun) != "(Intercept)"]
  } else {
    x_mun <- model.matrix(~ 1 + factor(conapo), data = datos_mun)  
    x_mun <- x_mun[, colnames(x_mun) != "(Intercept)"]
  }
  ind_mun <- select(datos_mun, ubica_geo, geo_id, in_sample_mun)
  datos_limpios_hogar <- datos_limpios_hogar %>% 
    left_join(ind_mun, by = "ubica_geo")
  n <- sum(datos_limpios_hogar$in_sample)
  n_mun = sum(datos_mun$in_sample_mun)
  datos_modelo <- list(
    n = n,
    n_mun = n_mun,
    mh = ncol(x_hogar),
    mm = ncol(x_mun),
    ingreso = datos_limpios_hogar$ingcor[1:n],
    x_hogar = x_hogar[1:n, ],
    x_municipio = x_mun[1:n_mun, ],
    municipio = datos_limpios_hogar$geo_id[1:n], 
    N = nrow(datos_limpios_hogar), 
    todos_municipio = datos_limpios_hogar$geo_id,
    x_todos_hogar = x_hogar,
    in_sample_hogar = as.numeric(datos_limpios_hogar$in_sample),
    N_mun = nrow(x_mun), 
    x_todos_municipio = x_mun, 
    in_sample_mun = as.numeric(datos_mun$in_sample_mun)
    )
  return(list(datos_modelo = datos_modelo, ind_mun = ind_mun, 
    datos_hogar = datos_limpios_hogar, 
    log_ingreso = log(datos_limpios_hogar$ingcor + 1)))
}

datos <- preparar_datos(datos_enigh = enigh_vars, in_sample_ids = in_sample_ids, 
  covs_mun = FALSE)

fit <- sampling(mod_ingreso_pred, data = datos$datos_modelo, chains = 2,
  cores = 2, iter = 700, warmup = 400, control=list(max_treedepth=13))
save(fit, file = "fit.RData")
load("fit.RData")

Ahora revisaremos diagnósticos de convergencia y pp-checks esto se puede hacer con el paquete shinystan.

log_ingreso <- log(1 + datos$datos_modelo$ingreso)
shinystan::launch_shinystan(fit)

Diagnósticos de convergencia

Trazas

library(bayesplot)
## This is bayesplot version 1.5.0
## - Plotting theme set to bayesplot::theme_default()
## - Online documentation at mc-stan.org/bayesplot
posterior <- extract(fit, inc_warmup = TRUE, permuted = FALSE)

color_scheme_set("mix-blue-pink")
p <- mcmc_trace(posterior,  pars = c("sigma", "sigma_mun"), n_warmup = 400,
  facet_args = list(nrow = 2, labeller = label_parsed, scales = "free_y"))
p + facet_text(size = 15)

library(bayesplot)

posterior <- extract(fit, inc_warmup = FALSE, permuted = FALSE)

p <- mcmc_trace(posterior,  pars = c("sigma", "sigma_mun"), n_warmup = 0,
  facet_args = list(nrow = 2, labeller = label_parsed, scales = "free_y"))
p + facet_text(size = 15)

Diagnósticos tradicionales

Trazas

library(bayesplot)
posterior <- as.array(fit)
mcmc_trace(posterior, pars = c("sigma", "sigma_mun"),
           facet_args = list(nrow = 2))

\(\hat{R}\)

\(\hat{R}\) es una estadística de reducción potencial de escala, mide el cociente de la varianza promedio en las simulaciones de cada cadena respecto a la varianza de todas las cadenas juntas. La idea es que si todas la cadenas han alcanzado un estado de equilibrio, el numerador y denominador serán iguales y \(\hat{R}\) será uno, de lo contrario será mayor a uno (Gelman et al. 2013, Stan Development Team 2018)).

rhats_betas <- rhat(fit, pars = "beta")
mcmc_rhat(rhats_betas) + ggtitle("R-hat betas") + yaxis_text(hjust = 1)

rhats_alphas <- rhat(fit, par = "alpha")
mcmc_rhat(rhats_alphas) +
  ggtitle("R-hat alphas") + yaxis_text(hjust = 1)

rhats <- rhat(fit)
mcmc_rhat(rhats) + ggtitle("R-Hat todo")
## Warning: Dropped 333 NAs from 'new_rhat(rhat)'.

Tamaño de muestra efectivo

El tamaño de muestra efectivo es una estimación del número de simulaciones independientes de la distribución posterior del estimador de interés. El valor \(N_{eff}\) de Stan esta basado en la habilidad de las simulaciones en estimar la media del parámetro, que está relacionado (más no es necesariamente equivalente) con estimar otras funciones de los parámetros. Debido a que las simulaciones en una cadena de Markov no son independientes si autocorrelación, el tamaño de muestra efectivo \(N_{eff}\) suele ser menor que el tamaño de muestra total \(N\). Por tanto, entre mayor el cociente de \(N_eff\) a \(N\) mejor.

ratios <- neff_ratio(fit, pars = "beta")
mcmc_neff(ratios, size = 2) + ggtitle("N_eff betas") + yaxis_text(hjust = 1)

Una convención usual (aunque arbitraria) es preocuparnos solo si\(N_{eff} / N\) es menor a 0.1.

Autocorrelación

Como vimos arriba \(N_{eff}/N\) disminuye cuando hay autocorrelación en las simulaciones. Otra manera de visualizar esto es haciendo gráficas de autocorrelación. La autocorrelación postitva es indeseable pues significa que la cadena tiende a quedarse en la misma región entre iteraciones, lo ideal en las siguientes gráficas es ver que cae a cero rápidamente conforme aumenta la dustancia. La autocorrelación negativa también es posible y es útil pues indica convergencia rápida de la media muestral a la media verdadera.

mcmc_acf_bar(posterior, pars = "sigma", lags = 10)

mcmc_acf_bar(posterior, pars = "sigma_mun", lags = 10)

No-U-Turn Sampler

Para los diagnósticos de NUTS se utiliza la log-posterior de cada simulación y algunos diagnósticos específicos del muestreador.

lpost <- log_posterior(fit)
head(lpost)
##   Iteration      Value Chain
## 1         1 -30.476591     1
## 2         2  -7.776150     1
## 3         3 -24.246860     1
## 4         4 -29.775020     1
## 5         5   2.647383     1
## 6         6 -24.164296     1
nuts_p <- nuts_params(fit)
head(nuts_p)
##   Iteration     Parameter     Value Chain
## 1         1 accept_stat__ 0.9829902     1
## 2         2 accept_stat__ 0.7999009     1
## 3         3 accept_stat__ 0.9644214     1
## 4         4 accept_stat__ 0.9555165     1
## 5         5 accept_stat__ 1.0000000     1
## 6         6 accept_stat__ 0.9898638     1

Las gráficas asociadas a NUTS sirven para analizar las divergencias, sin embargo, en este ajuste no tuvimos divergencias.

Estiamaciones

mcmc_areas(posterior, regex_pars = c("alpha"), prob = 0.8) +
  ggtitle("Distribuciones posteriores", "con medianas e intervalos de 80%")

mcmc_areas(posterior, regex_pars = c("alpha"), prob = 0.8) +
  ggtitle("Distribuciones posteriores", "con medianas e intervalos de 80%")

mcmc_areas(posterior, pars = c("beta_0"), prob = 0.8) +
  ggtitle("Distribuciones posteriores", "con medianas e intervalos de 80%")

PP-checks

Cuando hablamos de posterior predictive checks lo que buscamos es comparar los datos observados con datos simulados de la distribución predictiva posterior. La idea detras de pp-checks es que si el modelo ajusta bien a los datos entonces debería de poder generar datos que se parezcan a los datos observados.

La distribución predictiva posterior es la distribución de la variable respuesta () implícita en el modelo una vez que usamos los datos observados \(y\) para actualizar nuestra incertidumbre de los parámetros del modelo \(\theta\):

\[p(\tilde{y}|y)=\int p(\tilde{y}|\theta)p(\theta|y)d\theta\]

En la ecuación de arriba podemos condicionar también a una matriz de covariables \(X\).

Computacionalmente, lo que haremos es que para cada simulación \(s=1,...,S\) de los parámetros de la distribución posterior \(\theta^{(s)}\sim p(\theta|y)\) obtenemos un vector \(\tilde{y}^{(s)}\) de tamaño \(N\) de la distribución predictiva posterior usando el modelo (\(p(y|\theta)\)) y condicionando a los parámetros \(\theta^(s)\). Como resultado tenemos una matriz de simualciones de \(\tilde{y}\) de tamaño \(S \times N\).

Cuando simulamos de la distribución predictiva posterior podemos usar los mismos valores de la matriz de covariables \(X\) que usamos al ajustar el modelo o podemos simular para nuevas observaciones con sus covariables \(\tilde{X}\) correspondiente. En el primer caso denotamos las replicaciones \(y^{rep}\) pues las podemos considerar replicaciones de la variable respuesta \(y\) más que predicciones de observaciones futuras (\(\tilde{y}\) con covariables \(\tilde{X}\)).

En la siguiente gráfica la línea obscura es la distribución del log-ingreso observado en la muestra de 10,000 hogares, y cada una de las líneas claras es una replicación del log-ingreso simulada de la distribución predictiva posterior (estimaciones de densidad por kernel).

y <- log(1 + datos$datos_modelo$ingreso)
y_rep <- extract(fit, "log_reps")[[1]] 

ppc_dens_overlay(y, y_rep[1:100, ])

Podemos ver la misma información en histogramas.

ppc_hist(y, y_rep[1:11, ])
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

Además de comparar la distribución podemos comparar estadísticas y comparar las estadísticas evaluadas en los datos observados con los correspondientes a las replicaciones.

ppc_stat(y, y_rep, stat = "min")
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

El máximo en los datos no parece congruente con el modelo.

ppc_stat(y, y_rep, stat = "max")
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

También podemos graficar intervalos y ver si contienen al verdadero valor, el default es construir intervalos del 90%.

inds <- sample(1:1000, 20)
ppc_intervals(y[inds], y_rep[, inds])

El paquete bayesplot contiene muchas herramientas más para hacer pp-checks.

available_ppc()
## bayesplot PPC module:
##   ppc_bars
##   ppc_bars_grouped
##   ppc_boxplot
##   ppc_data
##   ppc_dens
##   ppc_dens_overlay
##   ppc_ecdf_overlay
##   ppc_error_binned
##   ppc_error_hist
##   ppc_error_hist_grouped
##   ppc_error_scatter
##   ppc_error_scatter_avg
##   ppc_error_scatter_avg_vs_x
##   ppc_freqpoly
##   ppc_freqpoly_grouped
##   ppc_hist
##   ppc_intervals
##   ppc_intervals_data
##   ppc_intervals_grouped
##   ppc_loo_intervals
##   ppc_loo_pit
##   ppc_loo_pit_overlay
##   ppc_loo_pit_qq
##   ppc_loo_ribbon
##   ppc_ribbon
##   ppc_ribbon_data
##   ppc_ribbon_grouped
##   ppc_rootogram
##   ppc_scatter
##   ppc_scatter_avg
##   ppc_scatter_avg_grouped
##   ppc_stat
##   ppc_stat_2d
##   ppc_stat_freqpoly_grouped
##   ppc_stat_grouped
##   ppc_violin_grouped

Calibración

The Calibrated Bayesian (CB) approach to statistical inference capitalizes on the strength of Bayesian and frequentist approaches to statistical inference. In the CB approach, inferences under a particular model are Bayesian, but frequentist methods are useful for model development and model checking.

Comenzamos graficando intervalos para una muestra de 2000 hogares, graficando cada grado de marginación en un panel.

log_ingreso_out <- extract(fit, "log_ingreso_out")[[1]]

log_ingreso <- as.data.frame(t(log_ingreso_out)) %>% 
  mutate(hogar_id = 1:ncol(log_ingreso_out )) %>% 
  gather(n_sim, value, contains("V")) %>% 
  mutate(n_sim = parse_number(n_sim)) 

log_ingreso_df <- log_ingreso %>% 
  group_by(hogar_id) %>% 
  summarise(
    media = mean(value),
    mediana = median(value), 
    desv_est = sd(value), 
    q_inf = quantile(value, probs = 0.025), 
    q_sup = quantile(value, probs = 0.975)
  ) %>% 
  ungroup() %>% 
  bind_cols(datos$datos_hogar) %>% 
  mutate(y = datos$log_ingreso)


n_sample <- 2000
plot_sample <- sample_n(log_ingreso_df, size = n_sample) %>% 
  arrange(media) %>% 
  mutate(id = 1:n_sample)

ggplot(plot_sample, aes(x = id, y = media, ymin = q_inf, 
  ymax = q_sup, color = factor(in_sample))) +
  geom_pointrange(alpha = 0.5, size = 0.2) +
  geom_point(aes(y = y), color = "black", size = 0.3, alpha = 0.5) +
  facet_wrap(~conapo, nrow=1) +
  labs(color = "en muestra", x = "hogares", y = "")

Y vemos coberturas:

log_ingreso_df %>% 
  filter(!in_sample) %>% 
  mutate(
    cubre_90 = y > media - 1.64 * desv_est & 
      y < media + 1.64 * desv_est,
    cubre_95 = y > media - 2 * desv_est & 
      y < media + 2 * desv_est
    ) %>% 
  summarise(
    cobertura_90 = 100 * mean(cubre_90),
    cobertura_95 = 100 * mean(cubre_95)
    )
## # A tibble: 1 x 2
##   cobertura_90 cobertura_95
##          <dbl>        <dbl>
## 1         90.8         95.0

Y podemos ver si las coberturas fallan por ín.

log_ingreso_df %>% 
  filter(!in_sample) %>% 
  group_by(conapo) %>% 
  mutate(
    cubre_90 = y > media - 1.64 * desv_est & 
      y < media + 1.64 * desv_est,
    cubre_95 = y > media - 2 * desv_est & 
      y < media + 2 * desv_est
    ) %>% 
  summarise(
    cobertura_90 = 100 * mean(cubre_90),
    cobertura_95 = 100 * mean(cubre_95)
    )
## # A tibble: 5 x 3
##   conapo cobertura_90 cobertura_95
##    <int>        <dbl>        <dbl>
## 1      1         88.7         94.1
## 2      2         90.2         94.6
## 3      3         90.7         95.0
## 4      4         90.4         94.5
## 5      5         91.2         95.2

Ahora veamos las medias municipales. Si consideramos la muestra de ENIGH como la población podemos evaluar el modelo analizando si cubrimos el valor poblacional del ingreso promedio a nivel municipio tanto adentro como afuera de la muestra.

log_ingreso_mun <- log_ingreso %>% 
  mutate(ingreso_est = exp(value)) %>% 
  left_join(log_ingreso_df) %>% 
  group_by(ubica_geo, n_sim) %>% 
  summarise(
    n = n(),
    n_muestra = sum(in_sample),
    ing_medio = mean(ingreso_est), 
    ingcor_medio = mean(ingcor), 
    ingcor_mediana = median(ingcor), 
    conapo = first(conapo)
    ) %>% 
  group_by(ubica_geo) %>% 
  summarise(
    media_est = mean(ing_medio), 
    mediana_est = median(ing_medio), 
    sd_est = sd(ing_medio), 
    ingcor_medio = first(ingcor_medio), 
    n_muestra = first(n_muestra), 
    conapo = first(conapo)
  ) %>% 
  mutate(n_muestra_cat = Hmisc::cut2(n_muestra, cuts = c(0, 5, 10, 50, 100, 500)))
## Joining, by = "hogar_id"
ggplot(log_ingreso_mun, aes(x = media_est, y = ingcor_medio, 
  color = n_muestra_cat)) +
  geom_abline() + 
  geom_point(alpha = 0.5)

ggplot(log_ingreso_mun, aes(x = reorder(ubica_geo, media_est), 
  y = media_est, ymin = media_est - sd_est, ymax = media_est + sd_est,
  color = n_muestra_cat)) +
  geom_pointrange(alpha = 0.5, size = 0.2) +
  geom_point(aes(y = ingcor_medio), color = "black", alpha = 0.2, size = 0.5) +
  facet_wrap(~conapo)

Coberturas municipales

log_ingreso_mun %>% 
  mutate(
    cubre_90 = ingcor_medio > media_est - 1.64 * sd_est & 
      ingcor_medio < media_est + 1.64 * sd_est,
    cubre_95 = ingcor_medio > media_est - 2 * sd_est & 
      ingcor_medio < media_est + 2 * sd_est
    ) %>% 
  summarise(
    cobertura_90 = 100 * mean(cubre_90),
    cobertura_95 = 100 * mean(cubre_95)
    )
## # A tibble: 1 x 2
##   cobertura_90 cobertura_95
##          <dbl>        <dbl>
## 1         89.3         94.3